 <#setting time_zone="${timeZone}" >
<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label id="userCode"><@label key="userCode.C,colon">用户编码：</@label></label> <input type="text" name="userCode" value="${condition.userCode!''}" /></li>
                <li><label><@label key="userTypeCode.C,colon">用户类型：</@label></label> <select name="userTypeECode">
                        <option value=""><@label key="all.C">所有</@label></option> <#list userType as types>
                        <option value="${types.eCode}"<#if condition.userTypeECode?? && condition.userTypeECode == types.eCode> selected="selected"</#if>>${types.eCodeText}</option> </#list>
                </select></li>
                <li><label><@label key="lockFlag.C,colon">锁定标志：</@label></label> <select name="lockFlag">
                        <option value=""><@label key="all.C">所有</@label></option>
                        <option value="0"<#if condition.lockFlag?? && condition.lockFlag == 0> selected="selected"</#if>><@label key="no.C">否</@label></option>
                        <option value="1"<#if condition.lockFlag?? && condition.lockFlag == 1> selected="selected"</#if>><@label key="yes.C">是</@label></option>
                </select></li>
            </ul>
            <ul class="searchContent" style="height: 30px;">
                <li><label id="userText"><@label key="userText.C,colon">用户描述：</@label></label> <input type="text" name="userText" value="${condition.userText!''}" /></li>
                <li><label><@label key="systemFlag.C,colon">系统内置：</@label></label> <select name="systemFlag">
                        <option value=""><@label key="all.C">所有</@label></option>
                        <option value="0"<#if condition.systemFlag?? && condition.systemFlag == 0> selected="selected"</#if>><@label key="no.C">否</@label></option>
                        <option value="1"<#if condition.systemFlag?? && condition.systemFlag == 1> selected="selected"</#if>><@label key="yes.C">是</@label></option>
                </select>
                </li>
                <li></li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <@buttonRight menuCode="user_add" labelKey="add.B" defalutName="新增">
            <li><a class="add" target="dialog" mask="true" width="650" height="450" href="${rc.getContextPath()}/manage/user/addUser?navTabId=${navTabId!''}" rel="addUser" title="<@label key="addUser.C">新增用户</@label>"><span><@label key="add.B">新增</@label></span> </a>
            </li> </@buttonRight> <@buttonRight menuCode="user_edit" labelKey="edit.B" defalutName="编辑">
            <li><a class="edit" target="dialog" mask="true" width="650" height="520" href="${rc.getContextPath()}/manage/user/modifyUser?id={user_code}&navTabId=${navTabId!''}" rel="modifyUser" title="<@label key="editUser.C">编辑用户</@label>"><span><@label key="edit.B">编辑</@label></span> </a>
            </li> </@buttonRight> <@buttonRight menuCode="user_view" labelKey="view.B" defalutName="详情">
            <li><a class="icon" target="dialog" mask="true" width="650" height="520" href="${rc.getContextPath()}/manage/user/viewUser?id={user_code}&navTabId=${navTabId!''}" rel="viewUser" title="<@label key="viewUser.C">用户详情</@label>"><span><@label key="view.B">详情</@label></span> </a>
            </li> </@buttonRight> <@buttonRight menuCode="user_del" labelKey="delete.B" defalutName="删除">
            <li><a class="delete" target="selectedTodo" postType="string" rel="ids" href="${rc.getContextPath()}/manage/user/deleteUser?navTabId=${navTabId!''}" title="<@label key="confirmDelUser.M">确认要删除勾选的用户数据吗？</@label>"><span><@label key="delete.B">删除</@label></span> </a>
            </li> </@buttonRight>
            <@buttonRight menuCode="USER_RESET" labelKey="resetPassword.B" defalutName="重置密码">
            <li><a class="resetpassword" target="selectedTodo" postType="string" rel="ids" href="${rc.getContextPath()}/manage/user/resetPassword?navTabId=${navTabId!''}" title="<@label key="confirmResetPassword.M">确认要重置勾选用户的密码吗？</@label>"><span><@label key="resetPassword.B">重置密码</@label></span> </a>
            </li> </@buttonRight>

        </ul>
    </div>
    <table class="table" width="100%" layoutH="167">
        <thead>
            <tr>
                <th width="22"><input type="checkbox" group="ids" class="checkboxCtrl">
                </th>
                <th width="100" orderField="userCode"<#if (page.orderField?? && page.orderField == 'userCode')>class="${page.orderDirection!''}"</#if>><@label key="userCode.C">用户编码</@label></th>
                <th width="100" orderField="userText"<#if (page.orderField?? && page.orderField == 'userText')>class="${page.orderDirection!''}"</#if>><@label key="userText.C">用户描述</@label></th>
                <th width="100" orderField="userTypeECode"<#if (page.orderField?? && page.orderField == 'userTypeECode')>class="${page.orderDirection!''}"</#if>><@label key="userTypeCode.C">用户类型</@label></th>
                <th width="100" orderField="systemFlag"<#if (page.orderField?? && page.orderField == 'systemFlag')>class="${page.orderDirection!''}"</#if>><@label key="systemFlag.C">系统内置</@label></th>
                <th width="50" orderField="lockFlag"<#if (page.orderField?? && page.orderField == 'lockFlag')>class="${page.orderDirection!''}"</#if>><@label key="lockFlag.C">锁定标志</@label></th>
                <th width="60" orderField="createUser"<#if (page.orderField?? && page.orderField == 'createUser')>class="${page.orderDirection!''}"</#if>><@label key="createUser.C">创建人</@label></th>
                <th width="120" orderField="createDateTime"<#if (page.orderField?? && page.orderField == 'createDateTime')>class="${page.orderDirection!''}"</#if>><@label key="createDateTime.C">创建时间</@label></th>
                <th width="60" orderField="modifyUser"<#if (page.orderField?? && page.orderField == 'modifyUser')>class="${page.orderDirection!''}"</#if>><@label key="modifyUser.C">修改人</@label></th>
                <th width="120" orderField="modifyDateTime"<#if (page.orderField?? && page.orderField == 'modifyDateTime')>class="${page.orderDirection!''}"</#if>><@label key="modifyDateTime.C">修改时间</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as user>
            <tr target="user_code" rel="${user.userCode!''}">
                <td><input name="ids" value="${user.userCode!''}" type="checkbox">
                </td>
                <td>${user.userCode!''}</td>
                <td>${user.userText!''}</td>
                <td>${user.userTypeText!''}</td>
                <td><#if user.systemFlag == 0><@label key="no.C">否</@label><#else><@label key="yes.C">是</@label></#if></td>
                <td><#if user.lockFlag == 0><@label key="no.C">否</@label><#else><@label key="yes.C">是</@label></#if></td>
                <td>${user.createUser!''}</td>
                <td>${user.createDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td>${user.modifyUser!''}</td>
                <td>${user.modifyDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
            </tr>
            </#list> <#else>
            <tr target="user_id">
                <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if> <#else>
            <tr target="user_id">
                <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
</div>